<?php
class attachmentModel extends Model{
    public function add($param)
    {
        if ($id=$this->insert($param)){
            return $id;
        }
        return false;
    }
}